.class public Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;
.super Landroid/support/v4/app/FragmentActivity;

# interfaces
.implements Landroid/view/View$OnClickListener;
.implements Ljava/util/Observer;


# instance fields
.field a:F

.field b:F

.field c:F

.field d:Z

.field e:Z

.field private f:Landroid/widget/ImageView;

.field private g:Landroid/widget/TextView;

.field private h:Landroid/widget/ImageButton;

.field private i:Landroid/widget/ImageView;

.field private j:Landroid/widget/TextView;

.field private k:Landroid/widget/TextView;

.field private l:Landroid/widget/TextView;

.field private m:I

.field private n:Lcom/waiqin365/lightwork/tracker/model/NoScrollViewPager;

.field private o:Ljava/util/ArrayList;

.field private p:Lcom/waiqin365/lightwork/tracker/ae;

.field private q:Landroid/widget/LinearLayout;

.field private r:Landroid/widget/ImageView;

.field private s:Ljava/lang/String;

.field private t:Ljava/util/ArrayList;

.field private u:Lcom/waiqin365/lightapp/view/hr;

.field private v:Lcom/waiqin365/lightwork/tracker/x;

.field private w:Ljava/util/ArrayList;

.field private x:Landroid/widget/LinearLayout;

.field private y:Landroid/widget/TextView;


# direct methods
.method public constructor <init>()V
    .locals 3

    const/4 v2, 0x0

    const/4 v1, 0x0

    invoke-direct {p0}, Landroid/support/v4/app/FragmentActivity;-><init>()V

    const/4 v0, 0x1

    iput v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->m:I

    invoke-static {}, Ljava/util/UUID;->randomUUID()Ljava/util/UUID;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/UUID;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->s:Ljava/lang/String;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->t:Ljava/util/ArrayList;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->w:Ljava/util/ArrayList;

    iput v1, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->a:F

    iput v1, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->b:F

    iput v1, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->c:F

    iput-boolean v2, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->d:Z

    iput-boolean v2, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->e:Z

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;)Landroid/widget/LinearLayout;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->q:Landroid/widget/LinearLayout;

    return-object v0
.end method

.method static synthetic b(Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;)Landroid/widget/ImageButton;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->h:Landroid/widget/ImageButton;

    return-object v0
.end method

.method static synthetic c(Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;)Lcom/waiqin365/lightwork/tracker/ae;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->p:Lcom/waiqin365/lightwork/tracker/ae;

    return-object v0
.end method

.method static synthetic d(Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;)Ljava/util/ArrayList;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->w:Ljava/util/ArrayList;

    return-object v0
.end method

.method static synthetic e(Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;)Ljava/util/ArrayList;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->o:Ljava/util/ArrayList;

    return-object v0
.end method


# virtual methods
.method public a()V
    .locals 3

    const v0, 0x7f0c0be8

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->f:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->f:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0bea

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->g:Landroid/widget/TextView;

    const v0, 0x7f0c0beb

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->i:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->i:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0bec

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->r:Landroid/widget/ImageView;

    const-string/jumbo v0, "tracker_map_firstin"

    const/4 v1, 0x1

    invoke-static {p0, v0, v1}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Z)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->r:Landroid/widget/ImageView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    :cond_0
    const v0, 0x7f0c0bed

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageButton;

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->h:Landroid/widget/ImageButton;

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->h:Landroid/widget/ImageButton;

    invoke-virtual {v0, p0}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "title"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->g:Landroid/widget/TextView;

    const v1, 0x7f0807ee

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_0
    const v0, 0x7f0c0be4

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->j:Landroid/widget/TextView;

    const v0, 0x7f0c0be5

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->k:Landroid/widget/TextView;

    const v0, 0x7f0c0be6

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->l:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->j:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->k:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->l:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0be3

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->q:Landroid/widget/LinearLayout;

    const v0, 0x7f0c0be7

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightwork/tracker/model/NoScrollViewPager;

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->n:Lcom/waiqin365/lightwork/tracker/model/NoScrollViewPager;

    const v0, 0x7f0c0be2

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->x:Landroid/widget/LinearLayout;

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->x:Landroid/widget/LinearLayout;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->x:Landroid/widget/LinearLayout;

    invoke-virtual {v0, p0}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0460

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->y:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->y:Landroid/widget/TextView;

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f0807e0

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    return-void

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->g:Landroid/widget/TextView;

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->getIntent()Landroid/content/Intent;

    move-result-object v1

    const-string/jumbo v2, "title"

    invoke-virtual {v1, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_0
.end method

.method public a(I)V
    .locals 3

    const/4 v2, 0x0

    iget v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->m:I

    if-ne v0, p1, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    iput p1, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->m:I

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->n:Lcom/waiqin365/lightwork/tracker/model/NoScrollViewPager;

    add-int/lit8 v1, p1, -0x1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightwork/tracker/model/NoScrollViewPager;->setCurrentItem(I)V

    const/4 v0, 0x1

    if-ne p1, v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->h:Landroid/widget/ImageButton;

    invoke-virtual {v0, v2}, Landroid/widget/ImageButton;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->h:Landroid/widget/ImageButton;

    const v1, 0x7f0203d2

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setImageResource(I)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->j:Landroid/widget/TextView;

    const-string/jumbo v1, "#ff9008"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->j:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getParent()Landroid/view/ViewParent;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    const-string/jumbo v1, "#ff9008"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setBackgroundColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->k:Landroid/widget/TextView;

    const-string/jumbo v1, "#1a1a1a"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->k:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getParent()Landroid/view/ViewParent;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    const-string/jumbo v1, "#ffffff"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setBackgroundColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->l:Landroid/widget/TextView;

    const-string/jumbo v1, "#1a1a1a"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->l:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getParent()Landroid/view/ViewParent;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    const-string/jumbo v1, "#ffffff"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setBackgroundColor(I)V

    goto :goto_0

    :cond_2
    const/4 v0, 0x2

    if-ne p1, v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->h:Landroid/widget/ImageButton;

    invoke-virtual {v0, v2}, Landroid/widget/ImageButton;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->h:Landroid/widget/ImageButton;

    const v1, 0x7f0203ec

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setImageResource(I)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->j:Landroid/widget/TextView;

    const-string/jumbo v1, "#1a1a1a"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->j:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getParent()Landroid/view/ViewParent;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    const-string/jumbo v1, "#ffffff"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setBackgroundColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->k:Landroid/widget/TextView;

    const-string/jumbo v1, "#ff9008"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->k:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getParent()Landroid/view/ViewParent;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    const-string/jumbo v1, "#ff9008"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setBackgroundColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->l:Landroid/widget/TextView;

    const-string/jumbo v1, "#1a1a1a"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->l:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getParent()Landroid/view/ViewParent;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    const-string/jumbo v1, "#ffffff"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setBackgroundColor(I)V

    goto/16 :goto_0

    :cond_3
    const/4 v0, 0x3

    if-ne p1, v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->h:Landroid/widget/ImageButton;

    const/4 v1, 0x4

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->j:Landroid/widget/TextView;

    const-string/jumbo v1, "#1a1a1a"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->j:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getParent()Landroid/view/ViewParent;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    const-string/jumbo v1, "#ffffff"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setBackgroundColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->k:Landroid/widget/TextView;

    const-string/jumbo v1, "#1a1a1a"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->k:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getParent()Landroid/view/ViewParent;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    const-string/jumbo v1, "#ffffff"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setBackgroundColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->l:Landroid/widget/TextView;

    const-string/jumbo v1, "#ff9008"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->l:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getParent()Landroid/view/ViewParent;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    const-string/jumbo v1, "#ff9008"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setBackgroundColor(I)V

    goto/16 :goto_0
.end method

.method public a(Z)V
    .locals 2

    if-eqz p1, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->x:Landroid/widget/LinearLayout;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->x:Landroid/widget/LinearLayout;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    goto :goto_0
.end method

.method public b()V
    .locals 5

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->o:Ljava/util/ArrayList;

    new-instance v0, Lcom/waiqin365/lightwork/tracker/d;

    invoke-direct {v0}, Lcom/waiqin365/lightwork/tracker/d;-><init>()V

    new-instance v1, Lcom/waiqin365/lightwork/tracker/aa;

    invoke-direct {v1, p0, v0}, Lcom/waiqin365/lightwork/tracker/aa;-><init>(Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;Lcom/waiqin365/lightwork/tracker/d;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightwork/tracker/d;->a(Lcom/waiqin365/lightwork/tracker/l;)V

    new-instance v1, Lcom/waiqin365/lightwork/tracker/ao;

    invoke-direct {v1}, Lcom/waiqin365/lightwork/tracker/ao;-><init>()V

    new-instance v2, Landroid/os/Bundle;

    invoke-direct {v2}, Landroid/os/Bundle;-><init>()V

    const-string/jumbo v3, "needfilter"

    const/4 v4, 0x1

    invoke-virtual {v2, v3, v4}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightwork/tracker/ao;->setArguments(Landroid/os/Bundle;)V

    new-instance v2, Lcom/waiqin365/lightwork/tracker/x;

    invoke-direct {v2}, Lcom/waiqin365/lightwork/tracker/x;-><init>()V

    iput-object v2, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->v:Lcom/waiqin365/lightwork/tracker/x;

    iget-object v2, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->o:Ljava/util/ArrayList;

    invoke-virtual {v2, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->o:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->o:Ljava/util/ArrayList;

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->v:Lcom/waiqin365/lightwork/tracker/x;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->n:Lcom/waiqin365/lightwork/tracker/model/NoScrollViewPager;

    const/4 v1, 0x3

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightwork/tracker/model/NoScrollViewPager;->setOffscreenPageLimit(I)V

    new-instance v0, Lcom/waiqin365/lightwork/tracker/ae;

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->getSupportFragmentManager()Landroid/support/v4/app/FragmentManager;

    move-result-object v1

    invoke-direct {v0, p0, v1}, Lcom/waiqin365/lightwork/tracker/ae;-><init>(Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;Landroid/support/v4/app/FragmentManager;)V

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->p:Lcom/waiqin365/lightwork/tracker/ae;

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->n:Lcom/waiqin365/lightwork/tracker/model/NoScrollViewPager;

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->p:Lcom/waiqin365/lightwork/tracker/ae;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightwork/tracker/model/NoScrollViewPager;->setAdapter(Landroid/support/v4/view/PagerAdapter;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->n:Lcom/waiqin365/lightwork/tracker/model/NoScrollViewPager;

    new-instance v1, Lcom/waiqin365/lightwork/tracker/ab;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightwork/tracker/ab;-><init>(Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightwork/tracker/model/NoScrollViewPager;->setOnPageChangeListener(Landroid/support/v4/view/ViewPager$OnPageChangeListener;)V

    return-void
.end method

.method public back()V
    .locals 2

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->finish()V

    const v0, 0x7f040020

    const v1, 0x7f040023

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->overridePendingTransition(II)V

    return-void
.end method

.method public c()V
    .locals 8

    const/4 v4, 0x0

    const-string/jumbo v0, "tracker_dist_search_dept"

    const/4 v1, 0x1

    invoke-static {p0, v0, v1}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Z)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->u:Lcom/waiqin365/lightapp/view/hr;

    if-nez v0, :cond_0

    new-instance v0, Lcom/waiqin365/lightapp/view/hr;

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->h:Landroid/widget/ImageButton;

    invoke-direct {v0, p0, v1}, Lcom/waiqin365/lightapp/view/hr;-><init>(Landroid/content/Context;Landroid/view/View;)V

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->u:Lcom/waiqin365/lightapp/view/hr;

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->u:Lcom/waiqin365/lightapp/view/hr;

    const v1, 0x7f0807e6

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/hr;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->u:Lcom/waiqin365/lightapp/view/hr;

    new-instance v1, Lcom/waiqin365/lightwork/tracker/ad;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightwork/tracker/ad;-><init>(Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/hr;->a(Landroid/widget/PopupWindow$OnDismissListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->u:Lcom/waiqin365/lightapp/view/hr;

    sget-object v1, Lcom/waiqin365/lightapp/view/ht;->b:Lcom/waiqin365/lightapp/view/ht;

    sget-object v2, Lcom/waiqin365/lightapp/view/hu;->a:Lcom/waiqin365/lightapp/view/hu;

    const/16 v3, 0xee

    const/16 v5, -0xa

    const/16 v7, 0xa

    move v6, v4

    invoke-virtual/range {v0 .. v7}, Lcom/waiqin365/lightapp/view/hr;->a(Lcom/waiqin365/lightapp/view/ht;Lcom/waiqin365/lightapp/view/hu;IIIII)V

    :cond_0
    return-void
.end method

.method public dispatchTouchEvent(Landroid/view/MotionEvent;)Z
    .locals 5

    const/4 v3, 0x2

    const/4 v4, 0x1

    new-array v0, v3, [I

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->q:Landroid/widget/LinearLayout;

    invoke-virtual {v1, v0}, Landroid/widget/LinearLayout;->getLocationInWindow([I)V

    iget v1, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->m:I

    const/4 v2, 0x3

    if-ne v1, v2, :cond_0

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v1

    iget-object v2, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->q:Landroid/widget/LinearLayout;

    invoke-virtual {v2}, Landroid/widget/LinearLayout;->getHeight()I

    move-result v2

    aget v0, v0, v4

    add-int/2addr v0, v2

    int-to-float v0, v0

    cmpg-float v0, v1, v0

    if-gez v0, :cond_1

    :cond_0
    invoke-super {p0, p1}, Landroid/support/v4/app/FragmentActivity;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    :goto_0
    return v0

    :cond_1
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I

    move-result v0

    if-nez v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->v:Lcom/waiqin365/lightwork/tracker/x;

    iget-object v0, v0, Lcom/waiqin365/lightwork/tracker/x;->a:Lcom/waiqin365/lightapp/view/CalendarView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/CalendarView;->getMeasuredHeight()I

    move-result v0

    int-to-float v0, v0

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v1

    sub-float/2addr v0, v1

    const/high16 v1, 0x41c80000    # 25.0f

    invoke-static {p0, v1}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v1

    int-to-float v1, v1

    sub-float/2addr v0, v1

    iput v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->a:F

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v0

    iput v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->b:F

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F

    move-result v0

    iput v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->c:F

    :cond_2
    new-array v0, v3, [I

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->v:Lcom/waiqin365/lightwork/tracker/x;

    iget-object v1, v1, Lcom/waiqin365/lightwork/tracker/x;->a:Lcom/waiqin365/lightapp/view/CalendarView;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/view/CalendarView;->getLocationInWindow([I)V

    new-array v1, v3, [I

    iget-object v2, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->v:Lcom/waiqin365/lightwork/tracker/x;

    iget-object v2, v2, Lcom/waiqin365/lightwork/tracker/x;->b:Landroid/view/View;

    invoke-virtual {v2, v1}, Landroid/view/View;->getLocationInWindow([I)V

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v2

    aget v0, v0, v4

    iget-object v3, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->v:Lcom/waiqin365/lightwork/tracker/x;

    iget-object v3, v3, Lcom/waiqin365/lightwork/tracker/x;->a:Lcom/waiqin365/lightapp/view/CalendarView;

    invoke-virtual {v3}, Lcom/waiqin365/lightapp/view/CalendarView;->getMeasuredHeight()I

    move-result v3

    add-int/2addr v0, v3

    int-to-float v0, v0

    cmpl-float v0, v2, v0

    if-lez v0, :cond_3

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v0

    aget v1, v1, v4

    iget-object v2, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->v:Lcom/waiqin365/lightwork/tracker/x;

    iget-object v2, v2, Lcom/waiqin365/lightwork/tracker/x;->b:Landroid/view/View;

    invoke-virtual {v2}, Landroid/view/View;->getMeasuredHeight()I

    move-result v2

    add-int/2addr v1, v2

    int-to-float v1, v1

    cmpg-float v0, v0, v1

    if-gez v0, :cond_3

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I

    move-result v0

    if-ne v0, v4, :cond_4

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v0

    iget v1, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->b:F

    sub-float/2addr v0, v1

    invoke-static {v0}, Ljava/lang/Math;->abs(F)F

    move-result v0

    const/high16 v1, 0x42c80000    # 100.0f

    cmpg-float v0, v0, v1

    if-gtz v0, :cond_4

    :cond_3
    :goto_1
    invoke-super {p0, p1}, Landroid/support/v4/app/FragmentActivity;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    goto :goto_0

    :cond_4
    invoke-static {p1}, Landroid/view/MotionEvent;->obtain(Landroid/view/MotionEvent;)Landroid/view/MotionEvent;

    move-result-object v0

    iget v1, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->c:F

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F

    move-result v2

    sub-float/2addr v1, v2

    iget v2, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->a:F

    invoke-virtual {v0, v1, v2}, Landroid/view/MotionEvent;->offsetLocation(FF)V

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->v:Lcom/waiqin365/lightwork/tracker/x;

    iget-object v1, v1, Lcom/waiqin365/lightwork/tracker/x;->a:Lcom/waiqin365/lightapp/view/CalendarView;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/view/CalendarView;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    goto :goto_1
.end method

.method public onBackPressed()V
    .locals 0

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->back()V

    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 6

    const/4 v2, 0x3

    const v5, 0x7f040022

    const v4, 0x7f040021

    const/4 v1, 0x2

    const/4 v3, 0x1

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    packed-switch v0, :pswitch_data_0

    :cond_0
    :goto_0
    :pswitch_0
    return-void

    :pswitch_1
    invoke-virtual {p0}, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->back()V

    goto :goto_0

    :pswitch_2
    iget v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->m:I

    if-ne v0, v3, :cond_1

    const-string/jumbo v0, "tracker_search"

    invoke-static {p0, v0}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V

    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/waiqin365/lightwork/tracker/TrackerSearchActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v1, "type"

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->getIntent()Landroid/content/Intent;

    move-result-object v2

    const-string/jumbo v3, "type"

    invoke-virtual {v2, v3}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->startActivity(Landroid/content/Intent;)V

    invoke-virtual {p0, v5, v4}, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->overridePendingTransition(II)V

    goto :goto_0

    :cond_1
    iget v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->m:I

    if-ne v0, v1, :cond_0

    const-string/jumbo v0, "dist_dept_search"

    invoke-static {p0, v0}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->p:Lcom/waiqin365/lightwork/tracker/ae;

    invoke-virtual {v0}, Lcom/waiqin365/lightwork/tracker/ae;->getCount()I

    move-result v0

    if-le v0, v1, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->p:Lcom/waiqin365/lightwork/tracker/ae;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightwork/tracker/ae;->getItem(I)Landroid/support/v4/app/Fragment;

    move-result-object v0

    if-eqz v0, :cond_0

    instance-of v0, v0, Lcom/waiqin365/lightwork/tracker/ao;

    if-eqz v0, :cond_0

    new-instance v0, Lcom/waiqin365/lightwork/directory/b/v;

    invoke-direct {v0}, Lcom/waiqin365/lightwork/directory/b/v;-><init>()V

    new-instance v1, Landroid/content/Intent;

    const-class v2, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;

    invoke-direct {v1, p0, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    iput-boolean v3, v0, Lcom/waiqin365/lightwork/directory/b/v;->i:Z

    const v2, 0x7f08072f

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    iput-object v2, v0, Lcom/waiqin365/lightwork/directory/b/v;->f:Ljava/lang/String;

    const v2, 0x7f08072f

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    iput-object v2, v0, Lcom/waiqin365/lightwork/directory/b/v;->g:Ljava/lang/String;

    iput-boolean v3, v0, Lcom/waiqin365/lightwork/directory/b/v;->k:Z

    iget-object v2, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->s:Ljava/lang/String;

    iput-object v2, v0, Lcom/waiqin365/lightwork/directory/b/v;->d:Ljava/lang/String;

    const-string/jumbo v2, "param"

    invoke-virtual {v1, v2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->startActivity(Landroid/content/Intent;)V

    invoke-static {}, Lcom/waiqin365/lightapp/view/a/b;->a()Ljava/util/Observable;

    move-result-object v0

    invoke-virtual {v0, p0}, Ljava/util/Observable;->addObserver(Ljava/util/Observer;)V

    invoke-virtual {p0, v5, v4}, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->overridePendingTransition(II)V

    goto/16 :goto_0

    :pswitch_3
    iget v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->m:I

    if-eq v0, v3, :cond_0

    invoke-virtual {p0, v3}, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->a(I)V

    goto/16 :goto_0

    :pswitch_4
    invoke-virtual {p0}, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->c()V

    const-string/jumbo v0, "tracker_locationDistribution"

    invoke-static {p0, v0}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V

    iget v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->m:I

    if-eq v0, v1, :cond_0

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->a(I)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->p:Lcom/waiqin365/lightwork/tracker/ae;

    invoke-virtual {v0}, Lcom/waiqin365/lightwork/tracker/ae;->getCount()I

    move-result v0

    if-le v0, v1, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->p:Lcom/waiqin365/lightwork/tracker/ae;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightwork/tracker/ae;->getItem(I)Landroid/support/v4/app/Fragment;

    move-result-object v1

    if-eqz v1, :cond_0

    instance-of v0, v1, Lcom/waiqin365/lightwork/tracker/ao;

    if-eqz v0, :cond_0

    move-object v0, v1

    check-cast v0, Lcom/waiqin365/lightwork/tracker/ao;

    invoke-virtual {v0}, Lcom/waiqin365/lightwork/tracker/ao;->a()V

    new-instance v0, Lcom/waiqin365/lightwork/tracker/ac;

    invoke-direct {v0, p0, v1}, Lcom/waiqin365/lightwork/tracker/ac;-><init>(Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;Landroid/support/v4/app/Fragment;)V

    invoke-virtual {v0}, Lcom/waiqin365/lightwork/tracker/ac;->start()V

    goto/16 :goto_0

    :pswitch_5
    const-string/jumbo v0, "tracker_locationSummary"

    invoke-static {p0, v0}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V

    iget v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->m:I

    if-eq v0, v2, :cond_0

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->a(I)V

    goto/16 :goto_0

    :pswitch_6
    const-string/jumbo v0, "tracker_help"

    invoke-static {p0, v0}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V

    const-string/jumbo v0, "tracker_map_firstin"

    const/4 v1, 0x0

    invoke-static {p0, v0, v1}, Lcom/fiberhome/gaea/client/d/a;->a(Landroid/content/Context;Ljava/lang/String;Z)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->r:Landroid/widget/ImageView;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    new-instance v0, Landroid/content/Intent;

    const-class v1, Lorg/apache/cordova/WqCordovaActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v1, "url"

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-static {}, Lcom/fiberhome/gaea/client/c/b;->d()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v3, "/help/v2/android/locus.html"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Lorg/apache/cordova/util/Util;->addLanguageFormatForUrl(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v1, "title"

    const v2, 0x7f0807d8

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->startActivity(Landroid/content/Intent;)V

    invoke-virtual {p0, v5, v4}, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->overridePendingTransition(II)V

    goto/16 :goto_0

    nop

    :pswitch_data_0
    .packed-switch 0x7f0c0be2
        :pswitch_6
        :pswitch_0
        :pswitch_3
        :pswitch_4
        :pswitch_5
        :pswitch_0
        :pswitch_1
        :pswitch_0
        :pswitch_0
        :pswitch_6
        :pswitch_0
        :pswitch_2
    .end packed-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 1

    invoke-super {p0, p1}, Landroid/support/v4/app/FragmentActivity;->onCreate(Landroid/os/Bundle;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->getApplication()Landroid/app/Application;

    move-result-object v0

    check-cast v0, Lcom/fiberhome/gaea/client/base/ExmobiApp;

    iget-object v0, v0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->g:Ljava/util/ArrayList;

    if-eqz v0, :cond_0

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->getApplication()Landroid/app/Application;

    move-result-object v0

    check-cast v0, Lcom/fiberhome/gaea/client/base/ExmobiApp;

    iget-object v0, v0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->g:Ljava/util/ArrayList;

    invoke-virtual {v0, p0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    :cond_0
    invoke-static {p0}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/app/Activity;)V

    const v0, 0x7f03026d

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->setContentView(I)V

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->a()V

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->b()V

    return-void
.end method

.method protected onDestroy()V
    .locals 1

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->getApplication()Landroid/app/Application;

    move-result-object v0

    check-cast v0, Lcom/fiberhome/gaea/client/base/ExmobiApp;

    iget-object v0, v0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->g:Ljava/util/ArrayList;

    if-eqz v0, :cond_0

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->getApplication()Landroid/app/Application;

    move-result-object v0

    check-cast v0, Lcom/fiberhome/gaea/client/base/ExmobiApp;

    iget-object v0, v0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->g:Ljava/util/ArrayList;

    invoke-virtual {v0, p0}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z

    :cond_0
    invoke-super {p0}, Landroid/support/v4/app/FragmentActivity;->onDestroy()V

    return-void
.end method

.method public update(Ljava/util/Observable;Ljava/lang/Object;)V
    .locals 5

    const/4 v3, 0x0

    instance-of v0, p2, Lcom/waiqin365/lightapp/view/a/a;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->s:Ljava/lang/String;

    invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    move-object v0, p2

    check-cast v0, Lcom/waiqin365/lightapp/view/a/a;

    iget-object v0, v0, Lcom/waiqin365/lightapp/view/a/a;->a:Ljava/lang/String;

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    invoke-static {}, Lcom/waiqin365/lightapp/view/a/b;->a()Ljava/util/Observable;

    move-result-object v0

    invoke-virtual {v0, p0}, Ljava/util/Observable;->deleteObserver(Ljava/util/Observer;)V

    check-cast p2, Lcom/waiqin365/lightapp/view/a/a;

    iget-object v0, p2, Lcom/waiqin365/lightapp/view/a/a;->b:Ljava/lang/Object;

    check-cast v0, Ljava/util/HashMap;

    if-eqz v0, :cond_2

    const-string/jumbo v1, "selectDepList"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_2

    const-string/jumbo v1, "selectDepList"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    if-eqz v1, :cond_2

    const-string/jumbo v1, "selectDepList"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/List;

    const-string/jumbo v1, ""

    move v2, v3

    :goto_0
    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v4

    if-ge v2, v4, :cond_0

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v4, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/lightapp/kehu/share/a/m;

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/share/a/m;->b:Ljava/lang/String;

    invoke-virtual {v4, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v4, ","

    invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    add-int/lit8 v1, v2, 0x1

    move v2, v1

    move-object v1, v4

    goto :goto_0

    :cond_0
    const-string/jumbo v0, ","

    invoke-virtual {v1, v0}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1

    const-string/jumbo v0, ","

    invoke-virtual {v1, v0}, Ljava/lang/String;->lastIndexOf(Ljava/lang/String;)I

    move-result v0

    invoke-virtual {v1, v3, v0}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v1

    :cond_1
    invoke-virtual {v1}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_3

    :cond_2
    :goto_1
    return-void

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->t:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    :goto_2
    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->w:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v3, v0, :cond_5

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->w:Ljava/util/ArrayList;

    invoke-virtual {v0, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightwork/tracker/model/t;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightwork/tracker/model/t;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->t:Ljava/util/ArrayList;

    iget-object v2, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->w:Ljava/util/ArrayList;

    invoke-virtual {v2, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    :cond_4
    add-int/lit8 v3, v3, 0x1

    goto :goto_2

    :cond_5
    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->p:Lcom/waiqin365/lightwork/tracker/ae;

    invoke-virtual {v0}, Lcom/waiqin365/lightwork/tracker/ae;->getCount()I

    move-result v0

    const/4 v1, 0x2

    if-le v0, v1, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->p:Lcom/waiqin365/lightwork/tracker/ae;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightwork/tracker/ae;->getItem(I)Landroid/support/v4/app/Fragment;

    move-result-object v1

    if-eqz v1, :cond_2

    instance-of v0, v1, Lcom/waiqin365/lightwork/tracker/ao;

    if-eqz v0, :cond_2

    move-object v0, v1

    check-cast v0, Lcom/waiqin365/lightwork/tracker/ao;

    iget-object v2, p0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->t:Ljava/util/ArrayList;

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightwork/tracker/ao;->a(Ljava/util/ArrayList;)V

    check-cast v1, Lcom/waiqin365/lightwork/tracker/ao;

    invoke-virtual {v1}, Lcom/waiqin365/lightwork/tracker/ao;->c()V

    goto :goto_1
.end method
